package com.smart.reader.enums;

public enum ExceptionResultCode {
    /**
     * 参数校验异常
     */
    VALID_EXCEPTION(400, "参数校验异常"),
    /**
     * 未知异常
     */
    EXCEPTION(500, "未知异常");

    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    ExceptionResultCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
